package com.graduate.service;

import com.db.mapper.ArticleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ArticleServiceImp implements ArticleService {
    @Autowired
    private ArticleMapper articleMapper;
    @Override
    public List<Map<String, Object>> getArticleList(String type, String limit, String offset) {
        return articleMapper.getArticleList(type,limit,offset);
    }
}
